// 原型式的面向对象
// constructor
function Dog() {

}
Dog.prototype.sayHi = function() {

}
const dog = new Dog();
console.log(dog instanceof Dog); //原型
console.log(dog instanceof Object); //原型链